<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title>{$user_show.name}-萌星-{$C.webtitle}</title>
<meta content="{$C.webkeywords}" name="Keywords">
<meta name="description" content="{$C.webdescription}" />
<link href="__PUBLIC__/css/mengxing_dangan.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/mingxing.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/star_list.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/mxph_right.css"/>
<script src="./Public/js/jquery.js"></script>
<script type="text/javascript" src="./Public/js/top.js"></script>
<script type="text/javascript" src="./Public/js/move.js"></script>
<script type="text/javascript" src="./Public/js/jquery.SuperSlide.2.1.1.source.js"></script>
<script type="text/javascript" src="./Public/js/index.js"></script>
<script type="text/javascript" src="./Public/js/get_groups.js"></script>
<script type="text/javascript" src="./Public/js/public.js"></script>
<script type="text/javascript" src="./Public/js/add_comment.js"></script>

<script type="text/javascript">
//焦点图切换
$(function(){
	$(".slideBox").slide({mainCell:".bd ul",autoPlay:true});	
})
</script>
</head>
<body>
<div class="all">
<include file="Public:header"/>
	<div class="content">
		<div class="placeholder"></div>
		<div class="wrapper content">
			<!--当前位置-->
			<div class=" list_title clearfix">
				<div class="ti_left"> <a href="./" target="_blank">首页</a> > <a href="{:U('User/users')}" target="_blank">萌星</a> > <a href="{:U('User/user',array(suid=>$user_show[id]))}"> {$user_show.name} </a> </div>
				<div class="ti_right">
					<div class="bdsharebuttonbox bdshare"> <a target="_blank" href="#" class="bds_tsina1" data-cmd="tsina" title="分享到新浪微博"></a> <a target="_blank" href="#" class="bds_qzone1" data-cmd="qzone" title="分享到QQ空间"></a> <a target="_blank" href="#" class="bds_weixin1" data-cmd="weixin" title="分享到微信"></a> <a target="_blank" href="#" class="bds_more1" data-cmd="more"></a> </div>
				</div>
			</div>
		</div>
		
		<div class="wrapper clearfix oh" style="margin-bottom:20px;">
			<div class="mingx oh">
				<div class="mxleft">
					<style type="text/css">
					.mxt1 .mxtr{ height:380px; width:96%; float:left; display:inline; margin-left:20px;}
					.mxt1 .mxtr p.t2{ overflow:hidden;line-height: 30px;}
					</style>
					<div class="nav"> <span><a href="{:U('User/user',array(suid=>$user_show[id]))}" style="color:#000;font-size:24px;">{$user_show.groupname} {$user_show.name}</a></span> </div>
					<div class="mxt1 oh clearfix posr">
						<!--小萌星资料-->
						<div class="mxtr" style="height:auto;">
							<h1 class="t1">{$user_show.name}<span>{$user_show_info.yiming}</span></h1>
							<p class="t2"><span>年&nbsp;龄：{$user_show_info.old}岁</span></p>
							<p class="t2"><span>体&nbsp;重：{$user_show_info.tizhong}kg</span></p>
							<p class="t2"><span>身&nbsp;高：{$user_show_info.shengao}cm</span></p>
							<p class="t2"><span>生&nbsp;日：{$user_show_info.year}年{$user_show_info.month}月{$user_show_info.day}日</span></p>
							<p class="t2"><span>星&nbsp;座：{$user_show_info.xingzuo}</span></p>
							<p class="t2"><span>特&nbsp;长：{$user_show_info.xingqu}</span></p>

							<p class="t3">{$user_show_info.jianjie}</p>
						</div>
						<div class="posa dz" style="cursor:default;">
							<div class="mx_pic">
								<a href="{:U('User/user',array(suid=>$user_show[id]))}"><img src="{$user_show.touxiang}" alt="{$user_show.name}" title="{$user_show.name}"></a>
							</div>
							<php>
							if($user_fensi['id']){
							</php>
								<div style="margin-top:20px;">
									<img src="__PUBLIC__/images/star/dz.png" alt="已成为粉丝" title="已成为{$user_show.name}粉丝">
								</div>
								<div >
									已成为粉丝
									(<span class="fensinum">{$user_show.fensinum}</span>)
								</div>
							<php>
							}else{
							</php>
								<a href="javascript:;" id="tofensi">
									<div style="margin-top:20px;">
										<img src="__PUBLIC__/images/star/dz.png" alt="成为粉丝" title="成为{$user_show.name}粉丝">
									</div>
									<div>
										<span class="chengfensi">成为粉丝</span>
										(<span class="fensinum">{$user_show.fensinum}</span>)
									</div>
								</a>
							<php>
							}
							</php>
							<input type="hidden" value="{$user_show.id}" id="tuid" />
							<script type="text/javascript">
							$(function(){
								var tuid=$("#tuid").val();
								$("#tofensi").click(function(){
									$.post("{:U('User/tofensi')}",{tuid:tuid},function(msg){
										if(msg>=1){
											
											var fensinum=Number($(".fensinum").text());
											fensinum+=1;
											$(".fensinum").text(fensinum);
											$(".chengfensi").text("已成为粉丝");
										}else{
											if(msg==-1){
												alert("请先登录");
											}else if(msg==-2){
												alert("已成为粉丝");
											}
											//alert(msg);
											//alert("请先登录");
										}
									});
								});
							})
							</script>
						</div>

						<div style="clear: both;"></div>
						<!--视频-->
						<volist name="user_show_videos" id="user_show_videos">
							<div class="sp_title clearfix mt20">{$user_show_videos.name}</div>
							<div class="mu_left clearfix">
								
								<div class="shi" style="height:auto;">
									<a href="{:U('Index/videos_show',array(nid=>$user_show_videos[id]))}" target="_blank"><img src="{$user_show_videos.img}" width="820"  /></a>
								</div>
								
							</div>
						</volist>
						<!--小萌星相册-->
						<volist name="user_show_photo_files" id="photo_files">
							<div class="sp_title clearfix mt20"><a href="{:U('Index/photos_show',array(id=>$photo_files[id]))}" target="_blank">{$photo_files.name}</a></div>
							<div class="mu_left clearfix">
								<a href="{:U('Index/photos_show',array(id=>$photo_files[id]))}" target="_blank"><img src="{$photo_files.url}" width="820" /></a>
							</div>
						</volist>
					</div>
				</div>
				<!--左边结束-->
				
				<!--右边开始-->
				<include file="Public:mxright"/>  
				<!--右边结束-->
			</div>
		</div>
		
	</div>

<include file="Public:bottom"/>    
